package pa1;

public class Fish extends Animal implements ISwimming{
    @Override
    public void swim() {
        System.out.println(this.name + "正在用鱼尾游");
    }

    public Fish(String name) {
        super(name);
    }

}
